import React,{useState,useEffect} from 'react';
import { ConfigProvider } from 'antd';
import {AuthProvider} from '@/contexts/authContext';
import './App.css';

function App() {

  useEffect(()=>{
    return ()=>{
      ////组件销毁
    }
  },[]);

  return (
    <ConfigProvider theme={{ token: { colorPrimary: '#00b96b' } }}>
      <AuthProvider>
        <div>123123123</div>
      </AuthProvider>
    </ConfigProvider>
  );
}

export default App;